package com.wh.hotel.trigger;

import com.wh.hotel.cache.HotelPriceStrategyCache;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

/**
 * @author wenhao
 */
@Component
public class HotelPriceStrategyTrigger {

    @Resource
    private HotelPriceStrategyCache hotelPriceStrategyCache;

    @PostConstruct
    public void init() {
        hotelPriceStrategyCache.init();
    }
}
